package com.wisdytech.ccdserver.common.contants;

/**
 * @Classname CommonConstants
 * @Description 常量定义类
 * @Date 2021/9/22 18:09
 * @Created by dailibo
 */
public class CommonConstants {

    /**
     * 删除标志
     **/
    public static final String DEL_FALSE = "0";

    /**
     * 删除标志
     **/
    public static final String DEL_TRUE = "1";

    //检索标志 0 未检索，1 已检索
    public static final String SEARCH_TRUE = "1";
    public static final String SEARCH_FALSE = "0";

    //中断标志   0 未中断，1 已中断
    public static final String INTERRUPT_TRUE = "1";
    public static final String INTERRUPT_FALSE = "0";

    //完成标识   0 未，1 已
    public static final String OK_TRUE = "1";
    public static final String OK_FALSE = "0";

    public static final String INSERT = "insert";

    public static final String UPDATE = "update";

    public static final String DELETE = "delete";

    public static final String SUCCESS = "success";

    public static final String FAILED = "failed";

    public static final String BOOL_FLAG_TRUE = "true";

    public static final String BOOL_FLAG_FLASE = "false";

    /**
     * 是否标志 -否
     */
    public static String BOOL_FLAG_NO = "0";

    /**
     * 是否标志 -是
     */
    public static String BOOL_FLAG_YES = "1";

    /**
     * 分割符
     */
    public static final String SPLIT = ",";

    public static final String SPOT = ".";

    /**
     * 日期查询 - 结束日期拼接字符串
     **/
    public static final String END_TIME_SUFFIX = " 23:59:59";

    /**
     * 日期查询 - 开始日期拼接字符串
     **/
    public static final String START_TIME_SUFFIX = " 00:00:00";

    /**
     * 时间格式化
     **/
    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    public static final Double DEFAULT_NUM = 0D;

    /**
     * 检验单预览打印默认公司名称
     */
    public static final String WISDYTECH_NAME = "上海蔚至迪智能科技有限公司";

    /**
     * 检验导出企业名称配置项
     */
    public static final String SHEET_COMPANY_NAME = "SHEET_COMPANY_NAME";

    public static final String QM_UPLOAD = "app.quality.iqc.view.InspectionSheetMng";

    /**
     * 字符串1
     */
    public static final String STRING_1 = "1";
    /**
     * 字符串1
     */
    public static final String STRING_2 = "2";


    /**
     * 是否根据实测值自动判断检验项结果
     */
    public static final String ACTUAL_CHECK_RESULT = "ACTUAL_CHECK_RESULT";

    public static final String EQUIPMENT_NOT_EXIST = "设备不存在！";

    public static final String PRODUCT_EQUIPMENT_NOT_EXIST = "请输入生产类设备！";
    /**
     * 在制品状态：加工中
     */
    public static final String WIP_STATUS_10 = "10";

    /**
     * 在制品状态：已自检
     */
    public static final String WIP_STATUS_15 = "15";

    /**
     * 输入方式：检验对象
     */
    public static final String INPUT_METHOD_1 = "1";
    /**
     * 输入方式：设备编码
     */
    public static final String INPUT_METHOD_2 = "2";
    /**
     * 输入方式：载具编码
     */
    public static final String INPUT_METHOD_3 = "3";

    /**
     * 产品编码第四个字段取值    M  --> 模组
     */
    public static final String PREFIXM = "M";

    /**
     * 产品编码第四个字段取值    C  -->  电芯
     */
    public static final String PREFIXC = "C";

    /**
     * 产品编码第四个字段取值    P  -->  pack
     */

    public static final String PREFIXP = "P";

    /**
     * 产品编码第四个字段取值    model  --> 模组
     */
    public static final String PREFIXMODELE = "module";

    /**
     * 产品编码第四个字段取值    cell  -->  电芯
     */
    public static final String PREFIXCORE = "cell";

    /**
     * 产品编码第四个字段取值    pack  -->  pack
     */

    public static final String PREFIXPACK = "pack";


    /**
     * 分页pageSize 999999
     */

    public static final Integer PAGESIZE = 999999;

    /**
     * 分页pageSize 999999
     */

    public static final Integer CURRENTPAGE = 0;

    /**
     * 分页pageSize 999999
     */

    public static final Integer LINESIZE = 50001;
}
